//
//  HomeModel.swift
//  TODOApp
//
//  Created by chenyh on 2018/5/25.
//  Copyright © 2018年 chenyh. All rights reserved.
//

import Foundation
import HandyJSON
struct HomeModel: HandyJSON {
    var id: Int = -1
    var title: String = ""
    var content: String = ""
    var updateTime: String = ""
    
}
extension HomeModel: Decodable {
    static func parse(any: Any) -> HomeModel? {
        print(any)
        return HomeModel(id:1,title: "标题", content: "内容", updateTime: "发帖时间")
    }
    
}
